﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="main.aspx.cs" Inherits="main" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>中间这一块</title>
     <link href="style/css.css" rel="stylesheet" type="text/css" />
     
     
      <script language="JavaScript" type="text/javascript">

var divTop,divLeft,divWidth,divHeight,docHeight,docWidth,objTimer;
function resizeDiv()
{
    //  alert(document.body.clientHeight);
//alert(document.body.clientWidth);
document.getElementById("showinfo").style.height = document.body.clientHeight;
}

   window.onload = resizeDiv;
  
     
</script>
     
</head>
<body >
     <form id="form1" runat="server"  >
    <div id="showinfo"  style="background-image:url(images/background.gif);width:100%;   height:100%;  filter:Alpha(Opacity=30);" >
   <%-- <img src="images/background.gif" id="showinfo" style="width:100%;filter:Alpha(Opacity=30);"  alt=""/>--%>
    </div>  
    </form>
</body>
</html>
